<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');
include_once ('FenxiaoWarehouseQueryWarehouseListParam/AlibabaDistributionhubWarehouseModelAddressInfo.class.php');

class AlibabaDistributionhubWarehouseModelCloudWarehouseOpenDTO extends SDKDomain {

       	
    private $addressInfo;
    
        /**
    * @return 云仓地址
    */
        public function getAddressInfo() {
        return $this->addressInfo;
    }
    
    /**
     * 设置云仓地址     
     * @param AlibabaDistributionhubWarehouseModelAddressInfo $addressInfo     
     * 参数示例：<pre>{}</pre>     
     * 此参数必填     */
    public function setAddressInfo(AlibabaDistributionhubWarehouseModelAddressInfo $addressInfo) {
        $this->addressInfo = $addressInfo;
    }
    
        	
    private $code;
    
        /**
    * @return 云仓编码
    */
        public function getCode() {
        return $this->code;
    }
    
    /**
     * 设置云仓编码     
     * @param String $code     
     * 参数示例：<pre>EF667</pre>     
     * 此参数必填     */
    public function setCode( $code) {
        $this->code = $code;
    }
    
        	
    private $name;
    
        /**
    * @return 云仓名称
    */
        public function getName() {
        return $this->name;
    }
    
    /**
     * 设置云仓名称     
     * @param String $name     
     * 参数示例：<pre>上海仓</pre>     
     * 此参数必填     */
    public function setName( $name) {
        $this->name = $name;
    }
    
        	
    private $chargeDetailUrl;
    
        /**
    * @return 云仓收费介绍
    */
        public function getChargeDetailUrl() {
        return $this->chargeDetailUrl;
    }
    
    /**
     * 设置云仓收费介绍     
     * @param String $chargeDetailUrl     
     * 参数示例：<pre>--</pre>     
     * 此参数必填     */
    public function setChargeDetailUrl( $chargeDetailUrl) {
        $this->chargeDetailUrl = $chargeDetailUrl;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "addressInfo", $this->stdResult )) {
    				$addressInfoResult=$this->stdResult->{"addressInfo"};
    				$this->addressInfo = new AlibabaDistributionhubWarehouseModelAddressInfo();
    				$this->addressInfo->setStdResult ( $addressInfoResult);
    			}
    			    		    				    			    			if (array_key_exists ( "code", $this->stdResult )) {
    				$this->code = $this->stdResult->{"code"};
    			}
    			    		    				    			    			if (array_key_exists ( "name", $this->stdResult )) {
    				$this->name = $this->stdResult->{"name"};
    			}
    			    		    				    			    			if (array_key_exists ( "chargeDetailUrl", $this->stdResult )) {
    				$this->chargeDetailUrl = $this->stdResult->{"chargeDetailUrl"};
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    		if (array_key_exists ( "addressInfo", $this->arrayResult )) {
    		$addressInfoResult=$arrayResult['addressInfo'];
    			    			$this->addressInfo = new AlibabaDistributionhubWarehouseModelAddressInfo();
    			    			$this->addressInfo->setStdResult ( $addressInfoResult);
    		}
    		    	    			    		    			if (array_key_exists ( "code", $this->arrayResult )) {
    			$this->code = $arrayResult['code'];
    			}
    		    	    			    		    			if (array_key_exists ( "name", $this->arrayResult )) {
    			$this->name = $arrayResult['name'];
    			}
    		    	    			    		    			if (array_key_exists ( "chargeDetailUrl", $this->arrayResult )) {
    			$this->chargeDetailUrl = $arrayResult['chargeDetailUrl'];
    			}
    		    	    		}
 
   
}
?>